package com.wollo.student.service;

import com.wollo.domain.Check;
import com.wollo.domain.PageResult;

import java.text.ParseException;

public interface CheckService {
    //设置常量
    public static  final  int CHECK_CODE_SUCCESS=0;
    public static  final  int ADD_CHECK_CODE_SUCCESS=1;
    public static  final  int CHECK_STATUS_MORNING=1; //早上签到
    public static  final  int CHECK_STATUS_MOON=2; //中午签到
    public static  final  int CHECK_STATUS_NIGHT=3;//晚上签到
    public static  final  int CHECK_RESULT_NORMAL=1;//正常签到
    public static  final  int CHECK_RESULT_LATE=2;//迟到签到

    //新增签到
    int insCheckInfoService(Integer uid,String checkStatus) throws ParseException;
    //分页查询指定用户的签到信息
    PageResult<Check> selectUserCheckInfoService(Integer pageNum, Integer pageSize, Integer uid, String checkDate);

}
